package com.example.demo.test;

public class Dog extends Animal{
    @Override
    public String sound() {
        return "汪汪";
    }


    @Override
    public boolean equals(Object obj) {
        return true;
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }
}
